package com.study.zouchao.superproject.homepage.model.result.entity;

import java.util.List;

/**
 * Created by Administrator on 2017/6/21.
 */

public class BaiduAdResult {

    /**
     * errno : 0
     * request_id : 1272380163
     * timestamp : 1498044072
     * data : {"news":[{"nid":"10884521603604539277","sourcets":"1498005250000","ts":"1498005250000","title":"小黄车突然宣布押金涨价一倍","url":"http://www.toutiao.com/a6433740554152526081/","imageurls":[{"url":"https://timg01.bdimg.com/timg?tc&size=b529_298&sec=0&quality=100&cut_x=33&cut_y=0&cut_h=0&cut_w=529&di=aec1a84eb68ac57b0358500dce0f56dc&src=http%3A%2F%2Fd.hiphotos.baidu.com%2Fnews%2Fcrop%253D2%252C47%252C596%252C298%2Fsign%3D05071afcb3014a9095711cfd94451526%2Fa9d3fd1f4134970a2b5eb5619fcad1c8a7865d4a.jpg","height":270,"width":480}],"site":"全网资讯","abs":"让不少人有点丈二和尚摸不着头脑。","display_type":1,"display_url":"http://www.toutiao.com/a6433740554152526081/","topic":[],"long_abs":"这几日天共享单车的盆友圈很是热闹，摩拜刚刚公布6亿美元的融资，ofo投资人朱啸虎与摩拜投资方腾讯CEO马化腾就在盆友圈展开辩论，分别认为各自投资的公司做的更好。然为在6月20日小黄车团队突然宣布押金涨价一倍，让不少人有点丈二和尚摸不着头脑。ofo选在这个关键时点宣布押金涨价，不免让人猜想是否因为ofo需要扩充新的资金来源。","has_related":[],"tag":["骑行","投资"],"content":[],"content_type":{"image":1},"type":"image","total_images":"5","count":{"up":1,"down":0,"comment":2}},{"nid":"11002455169411480177","sourcets":"1497897345000","ts":"1497897345000","title":"盘点互联网大佬的童年旧照","url":"http://www.toutiao.com/a6433373439306744065/","imageurls":[{"url":"https://timg01.bdimg.com/timg?tc&size=b325_183&sec=0&quality=100&cut_x=20&cut_y=0&cut_h=0&cut_w=325&di=ade0368885f9145df1c92f936674a9d4&src=http%3A%2F%2Fd.hiphotos.baidu.com%2Fnews%2Fcrop%253D1%252C36%252C367%252C183%2Fsign%3D9202bbb23cd3d539d572558307b6c563%2F2f738bd4b31c8701fa6329aa2d7f9e2f0608ffa1.jpg","height":270,"width":480}],"site":"全网资讯","abs":"腾讯ceo马化腾小时候真是太萌了，谁能想到这个天真无邪的小孩缔造了市值千亿的腾讯帝国呢。","display_type":1,"display_url":"http://www.toutiao.com/a6433373439306744065/","topic":[],"long_abs":"万达老总王健林小时候看着很是机灵。百度李彦宏，这几年百度毁誉参半，但不得不承认李彦宏确实从小帅到大。京东创始人刘强东，从小的眼神里就透着霸气，一点没有变。30年前的马云和外国友人，据说马云是曾经杭州英语最好的人，并创办了一家翻译社。腾讯ceo马化腾小时候真是太萌了，谁能想到这个天真无邪的小孩缔造了市值千亿的腾讯帝国呢。","has_related":[],"tag":["李彦宏","马云","刘强东"],"content":[],"content_type":{"image":1},"type":"image","total_images":"6","count":{"up":1,"down":0,"comment":1}},{"nid":"12281678574273422046","sourcets":"1497730741000","ts":"1497730741000","title":"一个买家秀能顶上十个差评","url":"http://www.toutiao.com/item/6432497953063043585/","imageurls":[{"url":"https://timg01.bdimg.com/timg?tc&size=b620_349&sec=0&quality=100&cut_x=39&cut_y=0&cut_h=0&cut_w=620&di=d0d608b03a87f159dc1d73ca337ea667&src=http%3A%2F%2Fh.hiphotos.baidu.com%2Fnews%2Fcrop%253D42%252C1%252C699%252C349%2Fsign%3D9b941d83f1edab64603d1780ca029def%2F35a85edf8db1cb1376cf5f5bd754564e93584bd7.jpg","height":270,"width":480}],"site":"全网资讯","abs":"在淘宝上买衣服一般都是看图片和评论，有时候也会有买家秀来反馈。","display_type":1,"display_url":"http://www.toutiao.com/item/6432497953063043585/","topic":[],"long_abs":"在淘宝上买衣服一般都是看图片和评论，有时候也会有买家秀来反馈。图为露肩的毛衣，大姐这么一穿，估计就卖不出去，没生意了。好用的青瓜切片器，看出来很好用了，不然不会切的这么上瘾。仙气飘飘的红裙子，被这位大姐穿成雨衣了。和明星合影，这是海报买家的反馈。这个老板会很喜欢，毕竟大家看了都想买。","has_related":[],"tag":["电子商务"],"content":[],"content_type":{"image":1},"type":"image","total_images":"6","count":{"up":5,"down":0,"comment":3}}]}
     */

    private int errno;
    private String request_id;
    private int timestamp;
    private DataBean data;

    public int getErrno() {
        return errno;
    }

    public void setErrno(int errno) {
        this.errno = errno;
    }

    public String getRequest_id() {
        return request_id;
    }

    public void setRequest_id(String request_id) {
        this.request_id = request_id;
    }

    public int getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(int timestamp) {
        this.timestamp = timestamp;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }


    @Override
    public String toString() {
        return "BaiduAdResult{" +
                "errno=" + errno +
                ", request_id='" + request_id + '\'' +
                ", timestamp=" + timestamp +
                ", data=" + data +
                '}';
    }

    public static class DataBean {
        private List<NewsBean> news;

        public List<NewsBean> getNews() {
            return news;
        }

        public void setNews(List<NewsBean> news) {
            this.news = news;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "news=" + news +
                    '}';
        }

        public static class NewsBean {
            /**
             * nid : 10884521603604539277
             * sourcets : 1498005250000
             * ts : 1498005250000
             * title : 小黄车突然宣布押金涨价一倍
             * url : http://www.toutiao.com/a6433740554152526081/
             * imageurls : [{"url":"https://timg01.bdimg.com/timg?tc&size=b529_298&sec=0&quality=100&cut_x=33&cut_y=0&cut_h=0&cut_w=529&di=aec1a84eb68ac57b0358500dce0f56dc&src=http%3A%2F%2Fd.hiphotos.baidu.com%2Fnews%2Fcrop%253D2%252C47%252C596%252C298%2Fsign%3D05071afcb3014a9095711cfd94451526%2Fa9d3fd1f4134970a2b5eb5619fcad1c8a7865d4a.jpg","height":270,"width":480}]
             * site : 全网资讯
             * abs : 让不少人有点丈二和尚摸不着头脑。
             * display_type : 1
             * display_url : http://www.toutiao.com/a6433740554152526081/
             * topic : []
             * long_abs : 这几日天共享单车的盆友圈很是热闹，摩拜刚刚公布6亿美元的融资，ofo投资人朱啸虎与摩拜投资方腾讯CEO马化腾就在盆友圈展开辩论，分别认为各自投资的公司做的更好。然为在6月20日小黄车团队突然宣布押金涨价一倍，让不少人有点丈二和尚摸不着头脑。ofo选在这个关键时点宣布押金涨价，不免让人猜想是否因为ofo需要扩充新的资金来源。
             * has_related : []
             * tag : ["骑行","投资"]
             * content : []
             * content_type : {"image":1}
             * type : image
             * total_images : 5
             * count : {"up":1,"down":0,"comment":2}
             */

            private String nid;
            private String sourcets;
            private String ts;
            private String title;
            private String url;
            private String site;
            private String abs;
            private int display_type;
            private String display_url;
            private String long_abs;
            private ContentTypeBean content_type;
            private String type;
            private String total_images;
            private CountBean count;
            private List<ImageurlsBean> imageurls;
            private List<?> topic;
            private List<?> has_related;
            private List<String> tag;
            private List<?> content;

            public String getNid() {
                return nid;
            }

            public void setNid(String nid) {
                this.nid = nid;
            }

            public String getSourcets() {
                return sourcets;
            }

            public void setSourcets(String sourcets) {
                this.sourcets = sourcets;
            }

            public String getTs() {
                return ts;
            }

            public void setTs(String ts) {
                this.ts = ts;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getSite() {
                return site;
            }

            public void setSite(String site) {
                this.site = site;
            }

            public String getAbs() {
                return abs;
            }

            public void setAbs(String abs) {
                this.abs = abs;
            }

            public int getDisplay_type() {
                return display_type;
            }

            public void setDisplay_type(int display_type) {
                this.display_type = display_type;
            }

            public String getDisplay_url() {
                return display_url;
            }

            public void setDisplay_url(String display_url) {
                this.display_url = display_url;
            }

            public String getLong_abs() {
                return long_abs;
            }

            public void setLong_abs(String long_abs) {
                this.long_abs = long_abs;
            }

            public ContentTypeBean getContent_type() {
                return content_type;
            }

            public void setContent_type(ContentTypeBean content_type) {
                this.content_type = content_type;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getTotal_images() {
                return total_images;
            }

            public void setTotal_images(String total_images) {
                this.total_images = total_images;
            }

            public CountBean getCount() {
                return count;
            }

            public void setCount(CountBean count) {
                this.count = count;
            }

            public List<ImageurlsBean> getImageurls() {
                return imageurls;
            }

            public void setImageurls(List<ImageurlsBean> imageurls) {
                this.imageurls = imageurls;
            }

            public List<?> getTopic() {
                return topic;
            }

            public void setTopic(List<?> topic) {
                this.topic = topic;
            }

            public List<?> getHas_related() {
                return has_related;
            }

            public void setHas_related(List<?> has_related) {
                this.has_related = has_related;
            }

            public List<String> getTag() {
                return tag;
            }

            public void setTag(List<String> tag) {
                this.tag = tag;
            }

            public List<?> getContent() {
                return content;
            }

            public void setContent(List<?> content) {
                this.content = content;
            }

            public static class ContentTypeBean {
                /**
                 * image : 1
                 */

                private int image;

                public int getImage() {
                    return image;
                }

                public void setImage(int image) {
                    this.image = image;
                }
            }

            public static class CountBean {
                /**
                 * up : 1
                 * down : 0
                 * comment : 2
                 */

                private int up;
                private int down;
                private int comment;

                public int getUp() {
                    return up;
                }

                public void setUp(int up) {
                    this.up = up;
                }

                public int getDown() {
                    return down;
                }

                public void setDown(int down) {
                    this.down = down;
                }

                public int getComment() {
                    return comment;
                }

                public void setComment(int comment) {
                    this.comment = comment;
                }
            }

            @Override
            public String toString() {
                return "NewsBean{" +
                        "nid='" + nid + '\'' +
                        ", sourcets='" + sourcets + '\'' +
                        ", ts='" + ts + '\'' +
                        ", title='" + title + '\'' +
                        ", url='" + url + '\'' +
                        ", site='" + site + '\'' +
                        ", abs='" + abs + '\'' +
                        ", display_type=" + display_type +
                        ", display_url='" + display_url + '\'' +
                        ", long_abs='" + long_abs + '\'' +
                        ", content_type=" + content_type +
                        ", type='" + type + '\'' +
                        ", total_images='" + total_images + '\'' +
                        ", count=" + count +
                        ", imageurls=" + imageurls +
                        ", topic=" + topic +
                        ", has_related=" + has_related +
                        ", tag=" + tag +
                        ", content=" + content +
                        '}';
            }

            public static class ImageurlsBean {
                /**
                 * url : https://timg01.bdimg.com/timg?tc&size=b529_298&sec=0&quality=100&cut_x=33&cut_y=0&cut_h=0&cut_w=529&di=aec1a84eb68ac57b0358500dce0f56dc&src=http%3A%2F%2Fd.hiphotos.baidu.com%2Fnews%2Fcrop%253D2%252C47%252C596%252C298%2Fsign%3D05071afcb3014a9095711cfd94451526%2Fa9d3fd1f4134970a2b5eb5619fcad1c8a7865d4a.jpg
                 * height : 270
                 * width : 480
                 */

                private String url;
                private int height;
                private int width;

                public String getUrl() {
                    return url;
                }

                public void setUrl(String url) {
                    this.url = url;
                }

                public int getHeight() {
                    return height;
                }

                public void setHeight(int height) {
                    this.height = height;
                }

                public int getWidth() {
                    return width;
                }

                public void setWidth(int width) {
                    this.width = width;
                }

                @Override
                public String toString() {
                    return "ImageurlsBean{" +
                            "url='" + url + '\'' +
                            ", height=" + height +
                            ", width=" + width +
                            '}';
                }
            }
        }
    }
}
